import request from "../utils/request";

export function loginSubmit(data:any){
    return request({
        url:'/api/login',
        method:'post',
        data
    })
}

export function getCode(){
    return request({
        url:'/api/getcode',
        method:'post',
    })
}